package com.sky.sd.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sky.sd.system.bean.po.Menu;
import com.sky.sd.system.enums.MenuType;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 系统菜单 Mapper 接口
 * </p>
 *
 * @author 弓振
 * @since 2020-06-30
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> listMenusByRoleIds(@Param("roleIds")Set<String> roleIds, @Param("type") MenuType type);
}
